* {
  margin: 0;
  padding: 0;
}

html,
body,
.app,
#subAppWrap,
#subAppWrap > div,
#app {
  width: 100%;
  min-width: 1336px;
  height: 100%;
  font-family: 'PingFang SC', '思源黑体CN', 'Mircrosoft YaHei', 'SF UI Text', Arial, sans-serif;
  background: var(--el-bg-color-page);
}

button,
input,
optgroup,
select,
textarea {
  font-family: 'PingFang SC', '思源黑体CN', 'Mircrosoft YaHei', 'SF UI Text', Arial, sans-serif;
}

// 列表
ul,
ol,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/** 滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/** 滚动条轨道 */
::-webkit-scrollbar-track {
  background: none;
}

/** 滚动条上的滚动滑块 */
::-webkit-scrollbar-thumb {
  min-height: 28px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  background-clip: padding-box;
}

/** 滚动条没有滑块的轨道部分 */
::-webkit-scrollbar-track-piece {
  opacity: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.ellips {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-main {
  height: 100%;
  overflow: auto;
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
  background: var(--el-bg-color);

  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.page-default{
  min-height: 100%;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;

  font-size: 14px;
}

/* Alternative custom animation style 自定义动画风格*/
// 主题切换相关
::view-transition-old(root),
::view-transition-new(root) {
  height: auto;
  width: 100vw;
  animation: none;
  mix-blend-mode: normal;
}

html.dark::view-transition-old(root) {
  z-index: 2147483646;
}

html.dark::view-transition-new(root) {
  z-index: 1;
}

html::view-transition-old(root) {
  z-index: 1;
}

html::view-transition-new(root) {
  z-index: 2147483646;
}

// iconfont 新配置

.bi-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}


html.dark .loading-wrap{
  background: rgba(0, 0, 0, 0.8);
}


